package com.culture.config.dao.entity;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.experimental.Accessors;
import lombok.NoArgsConstructor;

@Data
@Accessors(chain=true)
@NoArgsConstructor
public class Property implements Serializable {	
	private static final long serialVersionUID = -8290682516188015005L;
	Long id;
	Long appId;
	String application;	
	String profile;
	String label;
	String propertyKey;
	String propertyValue;
	String remark;	
	Integer valueType;
	Integer deleted;
	String createBy;
	Date createTime;
	String updateBy;
	Date updateTime;

	public Property(Long id){
		this.id = id;
	}

	public Property(String propertyKey, String propertyValue) {
		this.propertyKey = propertyKey;
		this.propertyValue = propertyValue;
	}
	
	public Property(Long appId, String profile, String label) {
		this.appId = appId;
		this.profile = profile;
		this.label = label;
	}
	
	public Property(String application, String profile, String label) {
		this.application = application;
		this.profile = profile;
		this.label = label;
	}
}
